package cn.tedu.boot31.conetoller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AxiosController {
    @RequestMapping("/helloAxios")
    public String helloAxios(){
        return "异步请求成功";
    }

    @RequestMapping("/testPost")
    public String testPost(String info){
        return "看到我就可以去吃饭了"+info;
    }
}
